package com.ssm.entity;

public class Teacher {
    private int teacherid;
    private String username;
    private String password;
    private String email;
    private String name;
    private String gender;
    private String position;
    private long phonenumber;

    public Teacher() {
    }

    public Teacher(int id, String username, String password, String email, String name, String gender, String position, long phonenumber) {
        this.teacherid = teacherid;
        this.username = username;
        this.password = password;
        this.email = email;
        this.name = name;
        this.gender = gender;
        this.position = position;
        this.phonenumber = phonenumber;
    }

    @Override
    public String toString() {
        return "teacher{" +
                "teacherid=" + teacherid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", name='" + name + '\'' +
                ", gender='" + gender + '\'' +
                ", position='" + position + '\'' +
                ", phonenumber=" + phonenumber +
                '}';
    }

    public int getId() {
        return teacherid;
    }

    public void setId(int teacherid) {
        this.teacherid = teacherid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public long getPhonenumber() {
        return phonenumber;
    }

    public void setPhonenumber(long phonenumber) {
        this.phonenumber = phonenumber;
    }
}

